home *** CD-ROM | disk | FTP | other *** search
- global couleursMoniteur, chemin, extensions, scrollPano, cheminInstall, musGen, cheminVoix, pan, panchanged, son1, son2, son3, son4, son5, joueSon, compteurGen
-
- on startMovie
- set compteurGen to 0
- set scrollPano to 0
- set the exitLock to 1
- set musGen to 1
- set joueSon to 1
- set pan to 1
- set panchanged to 1
- set son1 to #rien
- set son2 to #rien
- set son3 to #rien
- set son4 to #rien
- set son5 to #rien
- if the machineType <> 256 then
- initRearWindow()
- set couleursMoniteur to the colorDepth
- set the colorDepth to 8
- else
- if the colorDepth <> 8 then
- alert("switch your monitor to 256 colors")
- quit()
- end if
- end if
- set extensions to ".dir"
- sound playFile 1, "@:musique:GEN.AIF"
- set the keyDownScript to "controlQ"
- end
-
- on controlQ
- if the commandDown and (the key = "q") then
- quit()
- end if
- end
-
- on villeGo
- play movie "demodero.dir"
- end
-
- on stopMovie
- global musGen
- if musGen then
- sound stop 1
- set musGen to 0
- end if
- end
-